import request from '@/utils/request';

export function pageList(data) {
  return request.post({
    url: '/api/pds/pdsFileArticlePcs/pdsFileArticlePcsList',
    data
  })
}
export function importModel(data) {
  return request.post({
    url: '/api/pds/pdsFileArticlePcs/importFileArticle',
    data
  })
}
export function modelDetail(data) {
  return request.post({
    url: '/api/pds/pdsFileArticlePcs/getFileArticleDatails',
    data
  })
}
export function save(data) {
  return request({
    url: '/api/pds/pdsFileArticlePcs/saveOrUpdateFileArticle',
    method: 'post',
    data
  })
}
// 删除客户货号档案
export function removePlan(params) {
  return request({
    url: '/api/pds/pdsFileArticlePcs/removeArticlePcs',
    method: 'delete',
    params
  })
}
export function getFilePcc(params) {
  return request({
    url: '/api/pds/pdsFileArticlePcc/getFilePCC',
    method: 'get',
    params
  })
}
export function updateAuth(data) {
  return request.post({
    url: '/api/pds/pdsFileArticlePcs/updateAuth',
    data
  })
}
